﻿

@{
    ViewBag.Title = "Add";
    Layout = "~/Areas/HouTaiArea/Views/Shared/_Layout.cshtml";
}

@section head{
    <link href="~/Content/bootstrap.css" rel="stylesheet" />
}
@using (Html.BeginForm("Add", "Category", FormMethod.Post))
{
    <div>

        @*@using (Html.BeginForm("useradd", "CMS_User", FormMethod.Post))
        {*@
            <table class="align-middle" align="center">
                <tr>
                    <td>栏目名称：</td>
                    <td>
                        <input class="form-control" type="text" name="ctitle" />
                    </td>

                </tr>
                <tr>
                    <td>栏目英文名：</td>
                    <td>
                        <input class="form-control" type="text" name="cname" />
                    </td>

                </tr>
                <tr>
                    <td>显示在导航：</td>
                    <td>
                        <select class="form-control" id="nav" name="nav">
                            <option value="False">错误的</option> 
                            <option value="True">真的</option>
                        </select>
                    </td>

                </tr>
                <tr>
                    <td>显示在导航上的顺序：</td>
                    <td>
                        <input type="text" class="form-control" name="navorder" />
                    </td>
                </tr>

                <tr>
                    <td>是否为管理员：</td>
                    <td>
                        <select class="form-control" id="search" name="search">
                            <option value="false">错误的</option>
                            <option value="true">真的</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <input type="submit" id="btn" value="添加" />
                    </td>
                </tr>


            </table>
        }
    </div>

}
